<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
<!--
.STYLE3 {font-size: 12px; color: #717171; }
-->
</style>
<smart>include file ='sys_head_config.html'</smart>
</head>
<body>
<div id="container">
  <form action="attribute_content.manage.php?action=add" name="addAttributeContent" method="post">
    <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#CCCCCC" style="font-size:12px; font-family:'宋体'; color:#666666">
      <tr bgcolor="#FFFFFF">
        <td height="30" colspan="2"><span class="STYLE3">　增加属性[<smart> $a_name </smart>]的内容选项</span></td>
      </tr>
      <tr bgcolor="#FFFFFF">
        <td height="30"><span class="STYLE3">　属性内容名称</span></td>
        <td height="30"><span class="STYLE3">
      　    <input type="text" name="txtaddACcontent" id="txtaddACcontent" onblur="document.getElementById('txtaddACcontent').value=this.value">
        *</span></td>
      </tr>
      <tr bgcolor="#FFFFFF">
        <td height="30"><span class="STYLE3">　属性内容排序</span></td>
        <td height="30"><span class="STYLE3">
          　
              <input type="text" name="txtaddACorder" id="txtaddACorder" onblur="document.getElementById('txtaddACorder').value=this.value" value="0">
        *</span></td>
      </tr>
      <tr bgcolor="#FFFFFF">
        <td height="30">&nbsp;</td>
        <td height="30">　
          <input name="submit" type="button" onclick="add_ac();" value=" <smart> $langbtnASubmit </smart> "></td>
      </tr>
      <input type="hidden" name="txtaddAid" id="txtaddAid" value="<smart> $a_id </smart>" />
      <input type="hidden" name="txtaddAname" id="txtaddAname" value="<smart> $a_name </smart>" />
    </table>
  </form>
  <br>
  <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#CCCCCC" style="font-size:12px; font-family:'宋体'; color:#666666">
    <tr bgcolor="#FFFFFF">
      <td width="5%" height="30" align="center" valign="middle"><span class="STYLE3">删</span></td>
      <td width="20%" height="30" align="center" valign="middle"><span class="STYLE3">属性内容</span></td>
      <td width="11%" height="30" align="center" valign="middle"><span class="STYLE3">属性排序</span></td>
      <td height="30" colspan="2" align="center" valign="middle">&nbsp;</td>
	  <td width="25%" height="30" align="center" valign="middle">&nbsp;</td>
	  <td width="12%" height="30" align="center" valign="middle">&nbsp;</td>
<smart> section name=i loop=$attribute_content_array </smart>
    <tr bgcolor="#FFFFFF">
      <td height="30" align="center" valign="middle"><td align="center" valign="middle"><td>
      <form name="update_content<smart> $attribute_content_array[i].ac_id </smart>" action="attribute_content.manage.php?action=update" method="post">
        <input name="txtupdateAcid" value="<smart> $attribute_content_array[i].ac_id </smart>" type="checkbox" />
        <td height="30" colspan="2">　
          <input name="txtupdateACcontent<smart> $attribute_content_array[i].ac_id </smart>" type="text" id="txtupdateACcontent<smart> $attribute_content_array[i].ac_id </smart>" onblur="document.getElementById('txtupdateACcontent<smart> $attribute_content_array[i].ac_id </smart>').value=this.value" value="<smart> $attribute_content_array[i].ac_content </smart>" size="12" />
        <td height="30" align="center" valign="middle">　
        <input name="txtupdateACorder<smart> $attribute_content_array[i].ac_id </smart>" type="text" id="txtupdateACorder<smart> $attribute_content_array[i].ac_id </smart>" onblur="document.getElementById('txtupdateACorder<smart> $attribute_content_array[i].ac_id </smart>').value=this.value" value="<smart> $attribute_content_array[i].ac_order </smart>" size="5" /></td>
        <td height="30" align="center" valign="middle"><input name="update" type="button" onclick="update_ac('<smart> $attribute_content_array[i].ac_id </smart>');" value="保存">
      </form>
    </tr>
    <smart> /section </smart>
    <tr bgcolor="#FFFFFF">
      <td height="30" colspan="7" align="center"><form action="attribute_content.manage.php?action=del" method="post" name="delAttributeContent" class="STYLE3" id="delAttribute">
          <input name="delbutton" type="button" value="删除" onclick="javascript:del_ac()" />
          <input name="cancel" type="button" onclick="return DialogHide();" value="返回">
      </form></td>
    </tr>
  </table>
</div>
</body>
</html>
